<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TestRuntime>true</TestRuntime>
    <IncludeRemoteExecutor>true</IncludeRemoteExecutor>
    <TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <!-- CA2252: Opt in to preview features before using them (Lock) -->
    <EnablePreviewFeatures>true</EnablePreviewFeatures>
  </PropertyGroup>
  <PropertyGroup Condition="'$(TargetOS)' == 'browser'">
    <XunitShowProgress>true</XunitShowProgress>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="AsyncLocalTests.cs" />
    <Compile Include="AutoResetEventTests.cs" />
    <Compile Include="BarrierCancellationTests.cs" />
    <Compile Include="BarrierTests.cs" />
    <Compile Include="CountdownEventCancellationTests.cs" />
    <Compile Include="CountdownEventTests.cs" />
    <Compile Include="EtwTests.cs" />
    <Compile Include="EventWaitHandleTests.cs" />
    <Compile Include="HostExecutionContextTests.cs" />
    <Compile Include="HostExecutionContextManagerTests.cs" />
    <Compile Include="InterlockedTests.cs" />
    <Compile Include="LockTests.cs" />
    <Compile Include="ManualResetEventTests.cs" />
    <Compile Include="ManualResetEventSlimCancellationTests.cs" />
    <Compile Include="ManualResetEventSlimTests.cs" />
    <Compile Include="MonitorTests.cs" />
    <Compile Include="MutexTests.cs" />
    <Compile Include="SemaphoreSlimCancellationTests.cs" />
    <Compile Include="SemaphoreSlimTests.cs" />
    <Compile Include="SemaphoreTests.cs" />
    <Compile Include="SpinLockTests.cs" />
    <Compile Include="ReaderWriterLockTests.cs" />
    <Compile Include="ReaderWriterLockSlimTests.cs" />
    <Compile Include="SpinWaitTests.cs" />
    <Compile Include="ThreadLocalTests.cs" />
    <Compile Include="XunitAssemblyAttributes.cs" />
    <Compile Include="ExecutionContextTests.cs" />
    <Compile Include="SynchronizationContextTests.cs" />
    <Compile Include="$(CommonTestPath)System\Diagnostics\Tracing\TestEventListener.cs"
             Link="CommonTest\System\Diagnostics\Tracing\TestEventListener.cs" />
    <Compile Include="$(CommonTestPath)System\Threading\ThreadTestHelpers.cs"
             Link="CommonTest\System\Threading\ThreadTestHelpers.cs" />
  </ItemGroup>
</Project>